package cn.wolfcode.luowowo.article.query;

import cn.wolfcode.luowowo.common.query.QueryObject;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class DestinationSearchQueryObject extends QueryObject {
    private int pageSize=9;
    private Long month;
    private Long[] destId;
    private String festival;
    private String season;
    private String tripMode;
    private String allSuit;
    private Long travelTimeType;
    public DestinationSearchCondition getDay(){
        return DestinationSearchCondition.TRAVEL_DAY.get(travelTimeType);
    }
//    public DestinationSearchCondition getDay() {
//        return DestinationSearchCondition.TRAVEL_DAY.get(travelTimeType);
//    }
}
